﻿using System;
using System.Drawing;

namespace Engine
{
    public class DUTPoint: ICloneable
    {
        public DUTPoint(int x, int y)
        {
            X = x;
            Y = y;
        }
        public int X { get; set; }
        public int Y { get; set; }
        public Point ToPoint()
        {
            return new Point(X, Y);
        }

        public override string ToString()
        {
            return $"X{X} Y:{Y}";
        }

        public object Clone()
        {
             return  new DUTPoint(X, Y);
        }
    }
}